package com.lysj.bhp.scheduled.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "t_dividend")
public class Dividend {
    @Id
    private Long dividentId;
    private Long userId;
    private String email;

    @Column(name = "bhpc", columnDefinition = "decimal(25,18)")
    private BigDecimal bhpc;//当前拥有的bhpc数量
    @Column(name = "dividend", columnDefinition = "decimal(25,18)")
    private BigDecimal dividend;//分红利息,单位:(个以太坊)
    @Column(name = "btcDividend", columnDefinition = "decimal(25,8)")
    private BigDecimal btcDividend;//分红利息,单位:(个比特币)

    @Column(name = "currentBitcoinToDollar", columnDefinition = "decimal(25,8)")
    private BigDecimal currentBitcoinToDollar;
    @Column(name = "currentEthereumToDollar", columnDefinition = "decimal(25,8)")
    private BigDecimal currentEthereumToDollar;
    @Column(name = "currentBhpcToDollar", columnDefinition = "decimal(25,8)")
    private BigDecimal currentBhpcToDollar;

    private Date createTime;//创建时间

    public Long getDividentId() {
        return dividentId;
    }

    public void setDividentId(Long dividentId) {
        this.dividentId = dividentId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public BigDecimal getBhpc() {
        return bhpc;
    }

    public void setBhpc(BigDecimal bhpc) {
        this.bhpc = bhpc;
    }

    public BigDecimal getDividend() {
        return dividend;
    }

    public void setDividend(BigDecimal dividend) {
        this.dividend = dividend;
    }

    public BigDecimal getCurrentBitcoinToDollar() {
        return currentBitcoinToDollar;
    }

    public void setCurrentBitcoinToDollar(BigDecimal currentBitcoinToDollar) {
        this.currentBitcoinToDollar = currentBitcoinToDollar;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getCurrentEthereumToDollar() {
        return currentEthereumToDollar;
    }

    public void setCurrentEthereumToDollar(BigDecimal currentEthereumToDollar) {
        this.currentEthereumToDollar = currentEthereumToDollar;
    }

    public BigDecimal getCurrentBhpcToDollar() {
        return currentBhpcToDollar;
    }

    public void setCurrentBhpcToDollar(BigDecimal currentBhpcToDollar) {
        this.currentBhpcToDollar = currentBhpcToDollar;
    }

    public BigDecimal getBtcDividend() {
        return btcDividend;
    }

    public void setBtcDividend(BigDecimal btcDividend) {
        this.btcDividend = btcDividend;
    }

}
